<?php
if(DigUser_Service_User::current()) {
    $links[] = $this->digUserAclLink('Documentation', '/digDoc');
    $links[] = $this->digUserAclLink('Configuration', '/dig/settings');
    $links[] = $this->digUserAclLink('Toolbox', '/dig/site');
    $links[] = "<a href='{$_SERVER['REQUEST_URI']}' target='_blank'>New Editor</a>";
    $links[] = "<a href='/digUser/account/logout'>Log Out</a>";
} else {
    $links[] = "<a href='/digUser/account/logout'>Log In</a>";
}
$links[] = "<a href='/' target='_blank'>View Site</a>";
echo $this->htmlList($links, null, null, false);